/**
 * 
 * 深圳市店联电子商务有限公司
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 说明：
 * Entity Name 自定义优惠
 * @Author：朱攀
 * @Date：2012-07-18
 */
@Entity
@Table(name="tsaleactsummary")
public class TSaleactSummary implements Serializable{
	
	
	

	private static final long serialVersionUID = 1L;
	
	

	private String ActID;//自定义优惠编号CHAR(15)
	private String CommodityID;//赠送商品编号 CHAR(15)
	private String Des;//描述 varchar(512)
	private Date StartTime;  //开始时间
	private Date EndTime;    //结束时间
	private String MainPic;//赠送商品编号 varchar(128)
	private Integer  Type;//送类型TINYINT 6    
	private Integer  LevelType;//送类型TINYINT 6
	private String RelActID;//真正关联的活动编号CHAR(15)
	private String Title;//活动标题 varchar(256)
	private Date UpdateTime ;  //修改时间
	private Integer Priority;  //优先级
	private Integer ClickCount; // 点击数
	
	@Id
	@Column(name = "ActID", length=15)
	public String getActID() {
		return ActID;
	}
	public void setActID(String actID) {
		ActID = actID;
	}
	@Column(name = "CommodityID", length=15)
	public String getCommodityID() {
		return CommodityID;
	}
	public void setCommodityID(String commodityID) {
		CommodityID = commodityID;
	}
	@Column(name = "Des", length=512)
	public String getDes() {
		return Des;
	}
	public void setDes(String des) {
		Des = des;
	}
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "StartTime", nullable = false, length = 19)
	public Date getStartTime() {
		return StartTime;
	}
	public void setStartTime(Date startTime) {
		StartTime = startTime;
		}
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "EndTime", nullable = false, length = 19)
	public Date getEndTime() {
		return EndTime;
	}
	public void setEndTime(Date endTime) {
		EndTime = endTime;
	}
	@Column(name = "MainPic", length=128)
	public String getMainPic() {
		return MainPic;
	}
	public void setMainPic(String mainPic) {
		MainPic = mainPic;
	}
	@Column(name = "Type")
	public Integer getType() {
		return Type;
	}
	public void setType(Integer type) {
		Type = type;
	}
	@Column(name = "LevelType")
	public Integer getLevelType() {
		return LevelType;
	}
	public void setLevelType(Integer levelType) {
		LevelType = levelType;
	}
	@Column(name = "RelActID", length=15)
	public String getRelActID() {
		return RelActID;
	}
	public void setRelActID(String relActID) {
		RelActID = relActID;
	}
	@Column(name = "Title", length=256)
	public String getTitle() {
		return Title;
	}
	public void setTitle(String title) {
		Title = title;
	}
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "UpdateTime", nullable = false, length = 19)
	public Date getUpdateTime() {
		return UpdateTime;
	}
	public void setUpdateTime(Date updateTime) {
		UpdateTime = updateTime;
	}
	@Column(name = "Priority")
	public Integer getPriority() {
		return Priority;
	}
	public void setPriority(Integer priority) {
		Priority = priority;
	}
	@Column(name = "ClickCount")
	public Integer getClickCount() {
		return ClickCount;
	}
	public void setClickCount(Integer clickCount) {
		ClickCount = clickCount;
	}
	public static long getSerialVersionUID() {
		return serialVersionUID;
	}
	


}
